package com.wef.system.service;

import java.util.List;
import java.util.Set;

import com.gfa4j.service.BaseService;
import com.wef.system.entity.Office;

public interface OfficeService extends BaseService {
	public Office addOffice(Office office);
	
	public Office updateOffice(Office office);
	
	public void deleteOffice(Office office);
	
	public Office saveOrUpdateOffice(Office office);
	
	public Set<Office> saveOrUpdateOffices(Set<Office> offices);
	
	public List<Office> getOfficeTreeAll();
	
	public int officeCodeCount(String officeCode);
}
